package cn.congzhou.crm.service;

import cn.congzhou.crm.domain.Department;
import cn.congzhou.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDepartmentService {

    int deleteByPrimaryKey(Long id);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    void saveOrUpdate(Department dept);

    PageInfo<Department> selectByPage(QueryObject qo);

    void batchDeleteDepartment(Long[] ids);

}
